package com.kuang.dao;

import com.kuang.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeacherMapper {
//    @Select("select * from `teacher` where `id`= #{tid}")
//    Teacher getTeacher(@Param("tid") int id);

    public List<Teacher> getTeacher2();

    public Teacher getTeacher3(@Param("tid")int tid);
}
